#include <QCoreApplication>
#include <cputimewin.h>
#include <QDebug>
#include <QTime>
int main(int argc, char *argv[])
{
    QCoreApplication a(argc, argv);
    cpuTimeWin w;
    QTime t;
    w.start();
    t.start();
    for (int i=0;i<1999;++i)
        qDebug()<<i<<"   "<<t.elapsed() - w.time();
    qDebug()<<"time: "<<w.time();
    return a.exec();
}
